﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace WJP
{
    /// <summary>
    /// 系统异常
    /// </summary>
    public class SysException : SystemException
    {
        /// <summary>
        /// 系统异常
        /// </summary>
        public SysException()
        {

        }

        /// <summary>
        /// 系统异常
        /// </summary>
        /// <param name="message"></param>
        public SysException(string message)
            : base(message)
        {

        }

        /// <summary>
        /// 系统异常
        /// </summary>
        /// <param name="message"></param>
        /// <param name="innerException"></param>
        public SysException(string message, Exception innerException)
            : base(message, innerException)
        {

        }

        /// <summary>
        /// 系统异常
        /// </summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        protected SysException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {

        }
    }
}
